package com.turing.post.organization.util;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 商圈业务接口
 * 
 * @author zxp
 * @Dec 18, 2012
 */
@Remote
@Local
public interface BusinessDistrictBusiness {
	/**
	 * 新增商圈
	 * 
	 * @param webInput
	 *            日志记录对象
	 * @param businessDistrict
	 *            商圈
	 * @throws PCPSApplicationException
	 */
	public void insertBusinessDistrictInfo(PCPSWebInput webInput,
			BusinessDistrict businessDistrict) throws PCPSApplicationException;

	/**
	 * 修改商圈
	 * 
	 * @param webInput
	 *            日志记录对象
	 * @param businessDistrict
	 *            商圈
	 * @throws PCPSApplicationException
	 */
	public void updateBusinessDistrictInfo(PCPSWebInput webInput,
			BusinessDistrict businessDistrict) throws PCPSApplicationException;

	/**
	 * 删除商圈
	 * 
	 * @param webInput
	 * @param businessDistrict
	 * @throws PCPSApplicationException
	 */
	public void removeBusinessDistrictInfo(PCPSWebInput webInput,
			BusinessDistrict businessDistrict) throws PCPSApplicationException;

	/**
	 * 审核商圈
	 * @param webInput
	 * @param businessDistrict
	 * @throws PCPSApplicationException
	 */
	public void authBusinessDistrict(PCPSWebInput webInput,
			BusinessDistrict businessDistrict) throws PCPSApplicationException;

	/**
	 * 拒绝审核商圈
	 * @param webInput
	 * @param businessDistrict
	 * @throws PCPSApplicationException
	 */
	public void unAuthBusinessDistrict(PCPSWebInput webInput,
			BusinessDistrict businessDistrict) throws PCPSApplicationException;
}
